Optimal. Leaf size=254 \[ -\frac{\sqrt{c} \left (e-\frac{2 c d-b e}{\sqrt{b^2-4 a c}}\right ) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{b-\sqrt{b^2-4 a c}}}\right )}{\sqrt{2} \sqrt{b-\sqrt{b^2-4 a c}} \left (a e^2-b d e+c d^2\right )}-\frac{\sqrt{c} \left (\frac{2 c d-b e}{\sqrt{b^2-4 a c}}+e\right ) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{\sqrt{b^2-4 a c}+b}}\right )}{\sqrt{2} \sqrt{\sqrt{b^2-4 a c}+b} \left (a e^2-b d e+c d^2\right )}+\frac{e^{3/2} \tan ^{-1}\left (\frac{\sqrt{e} x}{\sqrt{d}}\right )}{\sqrt{d} \left (a e^2-b d e+c d^2\right )} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 1.07816, antiderivative size = 254, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 3, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.125 \[ -\frac{\sqrt{c} \left (e-\frac{2 c d-b e}{\sqrt{b^2-4 a c}}\right ) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{b-\sqrt{b^2-4 a c}}}\right )}{\sqrt{2} \sqrt{b-\sqrt{b^2-4 a c}} \left (a e^2-b d e+c d^2\right )}-\frac{\sqrt{c} \left (\frac{2 c d-b e}{\sqrt{b^2-4 a c}}+e\right ) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{\sqrt{b^2-4 a c}+b}}\right )}{\sqrt{2} \sqrt{\sqrt{b^2-4 a c}+b} \left (a e^2-b d e+c d^2\right )}+\frac{e^{3/2} \tan ^{-1}\left (\frac{\sqrt{e} x}{\sqrt{d}}\right )}{\sqrt{d} \left (a e^2-b d e+c d^2\right )} \]
Antiderivative was successfully verified.
[In] Int[1/((d + e*x^2)*(a + b*x^2 + c*x^4)),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 102.417, size = 255, normalized size = 1. \[ \frac{\sqrt{2} \sqrt{c} \left (b e - 2 c d - e \sqrt{- 4 a c + b^{2}}\right ) \operatorname{atan}{\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{b + \sqrt{- 4 a c + b^{2}}}} \right )}}{2 \sqrt{b + \sqrt{- 4 a c + b^{2}}} \sqrt{- 4 a c + b^{2}} \left (a e^{2} - b d e + c d^{2}\right )} - \frac{\sqrt{2} \sqrt{c} \left (b e - 2 c d + e \sqrt{- 4 a c + b^{2}}\right ) \operatorname{atan}{\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{b - \sqrt{- 4 a c + b^{2}}}} \right )}}{2 \sqrt{b - \sqrt{- 4 a c + b^{2}}} \sqrt{- 4 a c + b^{2}} \left (a e^{2} - b d e + c d^{2}\right )} + \frac{e^{\frac{3}{2}} \operatorname{atan}{\left (\frac{\sqrt{e} x}{\sqrt{d}} \right )}}{\sqrt{d} \left (a e^{2} - b d e + c d^{2}\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(1/(e*x**2+d)/(c*x**4+b*x**2+a),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.424378, size = 274, normalized size = 1.08 \[ \frac{\sqrt{c} \left (e \sqrt{b^2-4 a c}+b e-2 c d\right ) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{b-\sqrt{b^2-4 a c}}}\right )}{\sqrt{2} \sqrt{b^2-4 a c} \sqrt{b-\sqrt{b^2-4 a c}} \left (-a e^2+b d e-c d^2\right )}+\frac{\sqrt{c} \left (e \sqrt{b^2-4 a c}-b e+2 c d\right ) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt{c} x}{\sqrt{\sqrt{b^2-4 a c}+b}}\right )}{\sqrt{2} \sqrt{b^2-4 a c} \sqrt{\sqrt{b^2-4 a c}+b} \left (-a e^2+b d e-c d^2\right )}+\frac{e^{3/2} \tan ^{-1}\left (\frac{\sqrt{e} x}{\sqrt{d}}\right )}{\sqrt{d} \left (a e^2-b d e+c d^2\right )} \]
Antiderivative was successfully verified.
[In] Integrate[1/((d + e*x^2)*(a + b*x^2 + c*x^4)),x]
[Out]
_______________________________________________________________________________________
Maple [B] time = 0.002, size = 480, normalized size = 1.9 \[ -{\frac{c\sqrt{2}e}{2\,a{e}^{2}-2\,bde+2\,c{d}^{2}}\arctan \left ({cx\sqrt{2}{\frac{1}{\sqrt{ \left ( b+\sqrt{-4\,ac+{b}^{2}} \right ) c}}}} \right ){\frac{1}{\sqrt{ \left ( b+\sqrt{-4\,ac+{b}^{2}} \right ) c}}}}+{\frac{c\sqrt{2}be}{2\,a{e}^{2}-2\,bde+2\,c{d}^{2}}\arctan \left ({cx\sqrt{2}{\frac{1}{\sqrt{ \left ( b+\sqrt{-4\,ac+{b}^{2}} \right ) c}}}} \right ){\frac{1}{\sqrt{-4\,ac+{b}^{2}}}}{\frac{1}{\sqrt{ \left ( b+\sqrt{-4\,ac+{b}^{2}} \right ) c}}}}-{\frac{{c}^{2}\sqrt{2}d}{a{e}^{2}-bde+c{d}^{2}}\arctan \left ({cx\sqrt{2}{\frac{1}{\sqrt{ \left ( b+\sqrt{-4\,ac+{b}^{2}} \right ) c}}}} \right ){\frac{1}{\sqrt{-4\,ac+{b}^{2}}}}{\frac{1}{\sqrt{ \left ( b+\sqrt{-4\,ac+{b}^{2}} \right ) c}}}}+{\frac{c\sqrt{2}e}{2\,a{e}^{2}-2\,bde+2\,c{d}^{2}}{\it Artanh} \left ({cx\sqrt{2}{\frac{1}{\sqrt{ \left ( -b+\sqrt{-4\,ac+{b}^{2}} \right ) c}}}} \right ){\frac{1}{\sqrt{ \left ( -b+\sqrt{-4\,ac+{b}^{2}} \right ) c}}}}+{\frac{c\sqrt{2}be}{2\,a{e}^{2}-2\,bde+2\,c{d}^{2}}{\it Artanh} \left ({cx\sqrt{2}{\frac{1}{\sqrt{ \left ( -b+\sqrt{-4\,ac+{b}^{2}} \right ) c}}}} \right ){\frac{1}{\sqrt{-4\,ac+{b}^{2}}}}{\frac{1}{\sqrt{ \left ( -b+\sqrt{-4\,ac+{b}^{2}} \right ) c}}}}-{\frac{{c}^{2}\sqrt{2}d}{a{e}^{2}-bde+c{d}^{2}}{\it Artanh} \left ({cx\sqrt{2}{\frac{1}{\sqrt{ \left ( -b+\sqrt{-4\,ac+{b}^{2}} \right ) c}}}} \right ){\frac{1}{\sqrt{-4\,ac+{b}^{2}}}}{\frac{1}{\sqrt{ \left ( -b+\sqrt{-4\,ac+{b}^{2}} \right ) c}}}}+{\frac{{e}^{2}}{a{e}^{2}-bde+c{d}^{2}}\arctan \left ({ex{\frac{1}{\sqrt{de}}}} \right ){\frac{1}{\sqrt{de}}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(1/(e*x^2+d)/(c*x^4+b*x^2+a),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/((c*x^4 + b*x^2 + a)*(e*x^2 + d)),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/((c*x^4 + b*x^2 + a)*(e*x^2 + d)),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/(e*x**2+d)/(c*x**4+b*x**2+a),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F(-2)] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: TypeError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/((c*x^4 + b*x^2 + a)*(e*x^2 + d)),x, algorithm="giac")
[Out]